import java.util.Map;
import java.util.TreeMap;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86131
 * Date: 2024-01-27
 * Time: 19:29
 */
class Student {
    public String id;

    public Student(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                '}';
    }
}
public class Test {
    public static void main(String[] args) {
        Student student = new Student("123456");
        int hascode1 = student.hashCode();  //把这个对象返回哈希code值
    }
    public static void main1(String[] args) {
        HashBuck hashBuck = new HashBuck();
        hashBuck.push(4,888);
        hashBuck.push(1,888);
        hashBuck.push(2,888);
        hashBuck.push(3,888);
        hashBuck.push(5,888);
        hashBuck.push(6,888);
        hashBuck.push(14,888);
        hashBuck.push(7,777);

        System.out.println(hashBuck.get(7));


        System.out.println("=======");
    }
}
